.viewSwitcher {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  margin-bottom: 16px;
}

.label {
  font-weight: 600;
  color: #495057;
  font-size: 14px;
  white-space: nowrap;
}

.buttonGroup {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  background: #ffffff;
}

.viewButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  border: none;
  background: #ffffff;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
  border-right: 1px solid #dee2e6;
  min-width: 80px;
}

.viewButton:last-child {
  border-right: none;
}

.viewButton:hover {
  background: #f8f9fa;
  color: #495057;
}

.viewButton.active {
  background: #007bff;
  color: #ffffff;
}

.viewButton.active:hover {
  background: #0056b3;
}

.buttonText {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.buttonDesc {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
  line-height: 1.2;
}

.currentViewInfo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #e3f2fd;
  border-radius: 4px;
  border: 1px solid #bbdefb;
}

.infoLabel {
  font-size: 12px;
  color: #1976d2;
  font-weight: 600;
}

.infoValue {
  font-size: 12px;
  color: #0d47a1;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .viewSwitcher {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .buttonGroup {
    justify-content: center;
  }
  
  .viewButton {
    flex: 1;
    min-width: 60px;
    padding: 6px 12px;
  }
  
  .buttonText {
    font-size: 12px;
  }
  
  .buttonDesc {
    font-size: 10px;
  }
  
  .currentViewInfo {
    justify-content: center;
  }
}

/* 动画效果 */
.viewButton {
  position: relative;
  overflow: hidden;
}

.viewButton::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.viewButton.active::before {
  left: 100%;
}

.viewSwitcher {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




